﻿@using FCZLM.Core.Models
@using Microsoft.AspNetCore.Http
@model News
@{
}

 <link href="~/layui/css/layui.css" rel="stylesheet" />
 <style>
     ul li{
         float:left;
         margin-left:60px
     }
 </style>
 <div class="pnt">
   <div class="pntLeft">
    <h2 class="Title">
        17商城
    
    </h2>
   </div><!--pntLeft/-->
   <div class="pntRight">
    <ul class="nav">
     <li class="navCur"><a href="/home/index">商城首页</a></li>
     <li><a href="/Product/index">商品中心</a></li>
     <li><a href="/news/index">新闻中心</a></li>
     <li>
            @if(@Context.Session.GetString(key:"user")==null){
							 <a href="/login/index">用户中心</a>
						}else{
							
							 <a href="/user/index">用户中心</a>
							
						}    </li> 
     <li><a href="/contact/index">联系我们</a></li>
    </ul><!--nav/-->
   </div><!--pntRight/-->
   <div class="clears"></div>
  </div><!--pnt/-->
 
 <div class="cont">
   <div class="contLeft" id="contLeft">
    <h3 class="leftTitle">帮助中心</h3>
    <dl class="helpNav">
      <dt class="help4">关于我们</dt>
      <dd><a href="#">17官网</a></dd>
      <dd><a href="/about/contact">联系方式</a></dd>
      <dd><a href="/about/index" class="helpCur">企业简介</a></dd>
    </dl><!--helpNav/-->
   </div><!--contLeft/-->
   <div class="contRight">
       <span style="font-size:16px;"><a href="/news/index" style="color:forestgreen">《返回列表</a></span>
        <h1 style="text-align:center">@Model.Title</h1>
        <h4 style="text-align:center;margin-top:10px">发布时间：@Model.CreateTime</h4>
        <h5 style="text-align:center">新闻来源：@Model.Source</h5>
        <p style="text-align:center;margin-top:20px"><img src="@Model.Pic" width="400" height="240"  /></p>  
            <main style="margin-top:30px">
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; @Model.Content
               
            </main>
        
    </div><!--contRight/-->
   <div class="clears"></div>
  </div><!--cont/-->